package com.js.admin.service.impl;

import com.js.admin.entity.BaseResourceAuthority;
import com.js.admin.mapper.BaseResourceAuthorityMapper;
import com.js.admin.service.BaseResourceAuthorityService;
import com.js.common.service.impl.BizServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author： ygl
 * @date： 2018/3/26
 * @Description：
 */
@Service
public class BaseResourceAuthorityServiceImpl extends BizServiceImpl<BaseResourceAuthority> implements BaseResourceAuthorityService {

    @Autowired
    private BaseResourceAuthorityMapper baseResourceAuthorityMapper;

    public void deleteByAuthorityIdAndResourceType(String s, String resourceTypeMenu, String type) {
        baseResourceAuthorityMapper.deleteByAuthorityIdAndResourceType(s,resourceTypeMenu,type);
    }
}
